package com.hanrui.android.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hanrui.android.R;
import com.hanrui.android.model.InvoiceListBean;

import javax.inject.Inject;

/**
 * Created by Administrator on 2018/2/9.
 */

public class BillHelpAdapter extends BaseQuickAdapter<InvoiceListBean,BaseViewHolder> {
    @Inject
    public BillHelpAdapter(){
        super(R.layout.item_billhelper);
    }

    @Override
    protected void convert(BaseViewHolder helper, InvoiceListBean item) {
        helper.setText(R.id.bill_username,item.getCompanyName())
                .setText(R.id.bill_num,"税号："+item.getDutyNo());
    }
}